package com.kele.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.kele.entity.Login;
import com.kele.entity.LoginVo;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author kele
 * @since 2022-01-08
 */
public interface LoginService extends IService<Login> {

    /**
     * 登录
     * @param loginVo
     * @return
     */
    Login userLogin (LoginVo loginVo);

    int insertToken(String token,Long userId);
}
